import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.pb.b2b.model.Language;
import com.pb.b2b.service.LanguageService;

@Component
public class Client {
	@Autowired
	LanguageService languageService;

	public void defaultLanguage() {
		Language defaultLanguage = languageService.getDefaultLanguage();
		System.out.println(defaultLanguage.getName());
	}
}
